<?php

/**
 * Created by PhpStorm.
 * User: fengchen
 * 此文件用于定义路由
 */
return [
    'URL_MODEL'     => 3,
    'URL_ROUTER_ON' => true,                             // 开启路由

    'URL_ROUTE_RULES' => [                            // 路由规则
        /*各种详情路由*/
        'index$'=> 'Home/Index/index',
        'news_list$' => 'Home/Index/news',
        'news$' => 'Home/Index/news?id=37',
        'news/:id' => 'Home/index/page',
        'zixun$' => 'Home/index/news?id=38',
        'zixun/:id' => 'Home/index/page',
        'qianyue$' => 'Home/index/news?id=39',
        'qianyue/:id' => 'Home/index/page',
        'about$' => 'Home/index/about',
        'service$'=> 'Home/index/service?id=1',
        'service_sem$'=> 'Home/index/service?id=2',
        'service_shop$'=> 'Home/index/service?id=3',
        'service_system$'=> 'Home/index/service?id=4',
        'service_weixin$'=> 'Home/index/service?id=5',
        'cases$'=> 'Home/index/caselist?id=1',
        'cases/:id'=> 'Home/index/caseinfo',
        'case_shop$'=> 'Home/index/caselist?id=2',
        'case_shop/:id'=> 'Home/index/caseinfo',
        'case_dingzhi$'=> 'Home/index/caselist?id=3',
        'case_dingzhi/:id'=> 'Home/index/caseinfo',
        'case_weixin$'=> 'Home/index/caselist?id=4',
        'case_weixin/:id'=> 'Home/index/caseinfo',
    ],
];
